import React from 'react';
import { Link } from 'react-router-dom';

const Page1: React.FC = () => {
  return (
    <div style={{ padding: '20px' }}>
      <h1>Page 1</h1>
      <p>这是第一个页面</p>
      <Link to="/page2">跳转到Page2</Link>
    </div>
  );
};

export default Page1;